<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>优家购房系统 - 房租信息更新</title>
	<script type="text/javascript" src="My97DatePicker/WdatePicker.js"></script>
	<script type="text/javascript" src="js/jquery-3.3.1.js"></script>
	<link rel="stylesheet" href="css/main.css">
	<link rel="stylesheet" href="lib/font-awesome/css/font-awesome.css">
</head>
<body style="background:url('image/bg3.jpg');background-size:cover;">
<div class="box">
	<h3>更新房租信息</h3>
	<form action="RentServlet2?method=update" method="post">
		<input type="hidden" name="id" value="${rent.r_id }">
		<table class="form-table">
			<tr>
			<td>房屋id号</td>
			<td colspan="3" class="control">
				<input type="text" name="flatId" value="${rent.flat_id }">
			</td>
		</tr>
		<tr>
			<td>租户id号</td>
			<td colspan="3" class="control">
				<input type="text" name="lesseeId" value="${rent.tenant_id }">
			</td>
		</tr>
		<tr>
			<td>缴纳金额</td>
			<td colspan="3" class="control">
				<input type="text" name="money" value="${rent.r_money }">
			</td>
		</tr>
		<tr>
			<td>缴纳时间</td>
			<td colspan="3" class="control">
				<input type="text" name="time" value="${rent.r_time }" class="Wdate" onClick="WdatePicker()">
			</td>
		</tr>
		<tr>
			<td>备注</td>
			<td colspan="3" class="control">
				<input type="text" name="remark" value="${rent.r_remark }">
			</td>
		</tr>
		</table>
		<div class="buttons">
			<input class="btn btn-primary va-bottom" type="submit" value="保存">&nbsp;&nbsp;
			<a class="btn btn-default" href="javascript:history.go(-1)">返回</a>
		</div>
	</form>
</div>
</body>
</html>